import { FG } from "./req"
export const getFriendReq = (obj = { uid: String }) => {
  return FG.post({
    url: "/getfriendsreq",
    data: {
      ...obj
    }
  })
}
export const agreeMakeFriend = (obj = { uid: String, fid: String }) => {
  return FG.post({
    url: "/makefriends",
    data: {
      ...obj
    }
  })
}
export const rejectMakeFriend = (obj = { uid: String, fid: String, allow: Boolean }) => {
  return FG.post({
    url: "/rejectfriends",
    data: {
      ...obj
    }
  })
}
export const getNumForMakeFriend = (obj = { isclear: true, uid: '' }) => {
  return FG.post({
    url: "/numformakefriend",
    data: {
      ...obj
    }
  })
}
